﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Text;
using System.ComponentModel;

namespace DomainModel.Entities
{
    [Table(Name = "AnsweredQuestions")]
    public class AnsweredQuestion
    {
        [Column(Name = "answered_questionID", IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int AnsweredQuestionID { get; set; }

        [Column(Name = "applicationID")]
        public int ApplicationID { get; set; }
        [Column(Name = "question_entriesID")]
        public int QuestionEntryID { get; set; }
        [Column(Name = "answerID")]
        public int AnswerID { get; set; }
        [Column(Name = "text_answer")]
        public string TextAnswer { get; set; }
    }
}
